package com.zlop.model;

public class User {

	private String name;

	private Integer age;
	
	private StatusEnum status;
	
	public User(String name, Integer age, StatusEnum status) {
		this.name = name;
		this.age = age;
		this.status = status;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}
	
	public StatusEnum getStatus() {
		return status;
	}

	public void setStatus(StatusEnum status) {
		this.status = status;
	}
	
	

	@Override
	public String toString() {
		return "User [name=" + name + ", age=" + age + ", status=" + status
				+ "]";
	}



	public enum StatusEnum{
		FREE,
		BUSY,
		VOCATION;
	}

}
